This section describes a routine your application might need to define when using the 3D Viewer.
You can define a drawing completion callback routine to perform any necessary post-drawing operations.
typedef OSErr (*TQ3ViewerDrawingCallbackMethod) (
TQ3ViewerObject theViewer,
const void *data);
typedef TQ3Status (*TQ3ViewerDrawingCallbackMethod) (
TQ3ViewerObject theViewer,
const void *data);
Your drawing completion callback routine is called each time the 3D Viewer completes a drawing operation requested by a call to Q3ViewerDraw , Q3ViewerDrawContent , or Q3ViewerDrawControlStrip for the viewer object specified by the theViewer parameter.
You install a drawing completion callback routine by calling the Q3ViewerSetDrawingCallbackMethod function.